jade.content.abs
Class AbsCommunicativeAct

java.lang.Object
  |
  +--jade.content.abs.AbsObject
        |
        +--jade.content.abs.AbsContentElement
              |
              +--jade.content.abs.AbsGenericAction
                    |
                    +--jade.content.abs.AbsCommunicativeAct

public class AbsCommunicativeAct
extends AbsGenericAction

Author:
Federico Bergenti - Universita` di Parma
See Also:
Serialized Form

Constructor Summary
AbsCommunicativeAct(java.lang.String name)
          Constructor
 
Method Summary
 AbsContentElement getAbsContentElement(java.lang.String name)
          Gets the value of a parameter.
 AbsAggregate getReceivers()
          Gets the receivers of the communicative act.
 AbsAID getSender()
          Gets the sender of the communicative act.
 void set(java.lang.String name, AbsContentElement value)
          Sets a parameter of the communicative act.
 void setReceivers(AbsAggregate receivers)
          Sets the receivers of the communicative act.
 void setSender(AbsAID sender)
          Sets the sender of the communicative act.
 
Methods inherited from class jade.content.abs.AbsGenericAction
getName
 
Methods inherited from class jade.content.abs.AbsObject
dump, dump, getAbsObject, getCount, getNames, getTypeName, isGrounded, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsCommunicativeAct

public AbsCommunicativeAct(java.lang.String name)
Constructor
Parameters:
name - name of the communicative act.
Method Detail

set

public void set(java.lang.String name,
                AbsContentElement value)
         throws UngroundedException
Sets a parameter of the communicative act.
Parameters:
name - the name of the paramter.
value - the value of the paramter.
Throws:
UngroundedException -  

getAbsContentElement

public AbsContentElement getAbsContentElement(java.lang.String name)
Gets the value of a parameter.
Parameters:
name - the name of the parameter.
Returns:
the value of the parameter.

setSender

public void setSender(AbsAID sender)
Sets the sender of the communicative act.
Parameters:
sender - the sender

setReceivers

public void setReceivers(AbsAggregate receivers)
Sets the receivers of the communicative act.
Parameters:
receivers - the list of receivers.

getSender

public AbsAID getSender()
Gets the sender of the communicative act.
Returns:
the sender.

getReceivers

public AbsAggregate getReceivers()
Gets the receivers of the communicative act.
Returns:
the list of receivers.